package com.studentexam.student.dao;

import com.studentexam.student.model.Person;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PersonMapper {
    int insertPerson(Person person);

//    int getRolenameCount(String );
    int selectBy(String account,String password);

    int updatePerson(Person person);

    int delPerson(Integer personid);

    List<Person> getByPersonid(Integer personid);

    List<Person> getAllPerson(Person person);
}
